package com.An.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @auther AnYang
 * @date 2022/3/15 23:18
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("stu_course")
public class StudentCourse {
	public Integer sno;
	public Integer cid;
	public String sname;
	public String cname;
	public String sclass;
	public String classes;
	public String course_type;

	@Override
	public String toString() {
		return "学生课程信息{" +
				"学号：" + sno +
				", 课程号：" + cid +
				", 姓名：'" + sname + '\'' +
				", 课程名：'" + cname + '\'' +
				", 班级名：'" + sclass + '\'' +
				", 选修/必修：'" + classes + '\'' +
				", 课程类型：'" + course_type + '\'' +
				'}';
	}
}